package tgc.edu.ljc.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.ljc.custom.CommonRepository;
import tgc.edu.ljc.entity.TbMenu;
@Repository
public interface TbMenuRepository extends CommonRepository<TbMenu, Integer> {

	public List<TbMenu> findByTypeAndParentIsNull(Integer type);

	public List<TbMenu> findByParentIsNullOrderByIdx1();

}
